package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Order;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    Order selectByOrderNo(Long orderNo);

    List<Order> selectByUserId(Integer id);

    int deleteByOrderNo(Long orderNo);
}